import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
import { PublicService } from '../public.service';

@Component({
    selector: 'itmp-cctv-video',
    templateUrl: './cctv-video.component.html',
    styleUrls: ['./cctv-video.component.css']
})
export class CctvVideoComponent implements OnInit {
    @Input() visible = false;
    @Input() data: any;
    @Output() visibleChange = new EventEmitter<boolean>();
    constructor() {}
    ngOnInit() {}
    close() {
        this.visible = false;
        this.visibleChange.emit(this.visible);
    }
    handleCancel(): void {
        this.close();
    }
    shrink() {}
    enlarge() {}
    goTop() {}
    goLeft() {}
    goRight() {}
    goBottom() {}
}
